<style>
    #baseContractorTeam-edit {
        .layui-form-label{
            white-space: nowrap;
        }
    }

</style>

<div class="febs-container" id="baseContractorTeam-edit">
    <div class="febs-open-body">
        <form class="layui-form" action="" lay-filter="baseContractorTeam-edit-form">
            <div class="layui-form-item febs-hide">
                <label class="layui-form-label febs-form-item-require">id：</label>
                <div class="layui-input-block">
                    <input type="text" name="contractorTeamId" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item febs-hide">
                <label class="layui-form-label detail ">所属公司Id:</label>
                <div class="layui-input-block">
                    <input type="text" name="tenantId" autocomplete="off" class="layui-input"
                           style="border: 0px" maxlength="32" disabled>
                </div>
            </div>

            <div class="layui-form-item febs-hide" id="tenantName-div">
                <label class="layui-form-label detail ">所属公司:</label>
                <div class="layui-input-block">
                    <input type="text" name="tenantName" autocomplete="off" class="layui-input"
                           style="border: 0px" maxlength="32" disabled>
                </div>
            </div>

            <div class="layui-form-item febs-hide">
                <label class="layui-form-label">承包商ID:</label>
                <div class="layui-input-block">
                    <input type="text" name="contractorId" autocomplete="off" class="layui-input"
                           style="border: 0px" maxlength="32" disabled>
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label layui-form-label-detail">承包商名称:</label>
                <div class="layui-input-block layui-input-block-html" id="contractorName">
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <label class="layui-form-label febs-form-item-require ">承包队名称:</label>
                        <div class="layui-input-block">
                            <input type="text" name="teamName" autocomplete="off" class="layui-input"
                                   maxlength="150" lay-verify="required" placeholder="请输入承包队名称">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <label class="layui-form-label febs-form-item-require ">实施部门:</label>
                        <div class="layui-input-block layui-input-icon-container">
                            <input type="hidden" name="constructionDeptId" class="layui-input">
                            <input type="text" name="constructionDept" autocomplete="off" class="layui-input"
                                   maxlength="150" lay-verify="required"  placeholder="请选择实施部门" readonly>
                            <div class="layui-input-suffix" id="constructionDept">
                                <i class="layui-icon layui-icon-add-1"></i>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <label class="layui-form-label ">承包队备注:</label>
                        <div class="layui-input-block">
                        <textarea name="remark" maxlength="255" class="layui-textarea"
                                  placeholder="请输入备注"></textarea>
                        </div>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-row">
                    <div class="layui-col-xs11">
                        <label class="layui-form-label ">承包队状态:</label>
                        <div class="layui-input-block">
                            <input type="checkbox" name="status" lay-skin="switch" lay-text="启用|禁用">
                        </div>
                    </div>
                </div>
            </div>


            <div class="layui-form-item febs-hide">
                <button class="layui-btn" lay-submit="" lay-filter="baseContractorTeam-edit-form-submit"
                        id="submit"></button>
                <button type="reset" class="layui-btn" id="reset"></button>
            </div>
        </form>
    </div>

</div>
<script data-th-inline="javascript">
    var baseContractorTeamData = [[${baseContractorTeam}]];
</script>

<script type="text/html" id="teamUser-option">
    <span shiro:lacksPermission="baseContractorTeam:delete">
        <span class="layui-badge-dot febs-bg-orange"></span> 无权限
    </span>
    <a lay-event="del" shiro:hasPermission="baseContractorTeam:delete"><em
            class="layui-icon febs-edit-area febs-red">&#xe7f9;</em></a>
</script>
<script th:src="@{/febs/js/contractor/baseContractorTeam/baseContractorTeamEdit.js(v=1)}"></script>